import { Component, OnInit } from '@angular/core';
import { Title } from '@angular/platform-browser';
import { BtnNaviSharedService } from 'src/app/services/btn-navi-shared.service';

@Component({
  selector: 'app-page-not-found',
  templateUrl: './page-not-found.component.html',
  styles: [``]
})
export class PageNotFoundComponent{
  
  constructor(private title: Title, private btnNaviSharedService: BtnNaviSharedService) {
    this.title.setTitle('服务器找不到请求的资源');
    this.btnNaviSharedService.active(false);//不显示全局的导航
  }

}
